//package com.hmdp.controller;
//
//
//import com.hmdp.dto.Result;
//import com.hmdp.entity.ShopType;
//import com.hmdp.service.IShopTypeService;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
//import java.util.List;
//
///**
// * <p>
// * 前端控制器
// * </p>
// *
// * @author 虎哥
// */
//@RestController
//@RequestMapping("/shop-type")
//public class ShopTypeController {
//    @Resource
//    private IShopTypeService typeService;
//
//    @GetMapping("list")
//    public Result queryTypeList() {
//        List<ShopType> typeList = typeService
//                .query().orderByAsc("sort").list();
//        return Result.ok(typeList);
//    }
//}
